<!DOCTYPE html>
<html class="layui-bg-white">
<head th:include="include :: header"></head>
<body>
<div class="layui-form" style="padding:20px;">
    <input type="hidden" id="id" name="id" th:value="${subjectClockIn.id}">
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="required">*</span>科目名称：</label>
        <div class="layui-input-block">
            <input type="text" disabled name="name" lay-verify="required" placeholder="请输入科目名称" autocomplete="off" class="layui-input" th:value="${subjectClockIn.name}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="required">*</span>打卡人数：</label>
        <div class="layui-input-block">
            <input type="text" name="clockInNumber" lay-verify="required" placeholder="请输入打卡人数" autocomplete="off" class="layui-input" th:value="${subjectClockIn.clockInNumber}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="required">*</span>打卡时间：</label>
        <div class="layui-input-block">
            <input type="text" disabled name="createDate" lay-verify="required" placeholder="请选择打卡时间" autocomplete="off" class="layui-input" th:value="${#dates.format(subjectClockIn.createDate, 'yyyy-MM-dd')}">
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-operate-submit" id="LAY-operate-submit" value="确认">
    </div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript">
    layui.config({
        base: ctx + '/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index'         //主入口模块
    }).use(['index', 'form'], function () {
        var $ = layui.$, form = layui.form;

        form.verify(commonJs.form.verify);
    })
</script>
</body>
</html>

